<template>
	<view class="helpCenter">
		<view class="topBar">
			<hx-navbar :background-color="navbarConfig.background" :fixed="true" :back="false" transparent="show" :color="navbarConfig.color"
			 title="业务简介">
			</hx-navbar>
		</view>

		<!-- 文档主题 -->

		<view class="textinfo">
			<view class="info-info ql-container ql-snow">
				<!-- <parse :content="demoHtml" @navigate="demoHtml"></parse> -->
				<text class="ql-editor" v-html="datainfo"></text>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				tabindexx: '2',
				datainfo: '123123123123123', //新闻主题
			}
		},
		onShow() {
			// this.getdata()
		},
		methods: {
			changeindex(e) {
				this.tabindexx = e
			},
			getdata() {
				let _vm = this
				_vm.sendRequest({
					url: '/api/global/checkHelp',
					method: 'POST',
					data: {},
					hideLoading: true,
					success: function(res) {
						console.log("帮助中心", res)
						if (res.data.code == 200) {
							_vm.datainfo = res.data.data
						}
					}
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	@import "../../static/css/quill.core.css";
	@import "../../static/css/quill.snow.css";
	@import "../../static/css/quill.bubble.css";

	.helpCenter {
		.textinfo {
			padding: 20upx;

			.info-info {
				border: 0;
			}
		}
	}
</style>
